Skip to content

Check existence of "ol.ext" before initializing "ol.ext.input" and "ol.ext.imageLoader"#856

Merged
Viglino merged 1 commit intoViglino:masterfrom
sanak:fix/check-ol-ext-input-and-imageloader
Sep 19, 2022
Merged

Check existence of "ol.ext" before initializing "ol.ext.input" and "ol.ext.imageLoader"#856
Viglino merged 1 commit intoViglino:masterfrom
sanak:fix/check-ol-ext-input-and-imageloader

Conversation

@sanak
Copy link
Copy Markdown

@sanak sanak commented Sep 18, 2022

@Viglino, @Siedlerchr
Related with Siedlerchr/types-ol-ext#96, checking existence of ol.ext before initializing ol.ext.input seems to be necessary for types-ol-ext example, so I added further checks by referring other similar part (https://github.com/Viglino/ol-ext/search?q=window.ol).

Also, I noticed that ol.ext.imageLoader is similar with ol.ext.input, so I fixed it also.

@Viglino Viglino merged commit ad1012d into Viglino:master Sep 19, 2022
@sanak sanak deleted the fix/check-ol-ext-input-and-imageloader branch September 30, 2023 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants